home *** CD-ROM | disk | FTP | other *** search
- Short: Using stdin/stdout with CLI-prgs for pipes
- Author: ruppert@vs3.informatik.fh-wiesbaden.de
- Uploader: ruppert@vs3.informatik.fh-wiesbaden.de
- Type: util/cli
-
- StdIO-Handler StdIO-Handler
-
- $VER: StdIO-Handler.doc
-
- NAME
- StdIO-Handler - Handler for StdIO access
-
- FUNCTION
- In december 1994 I got a PIPE package and I was very supprised about the
- easy implementation of these pipes. So I used this very often with gzip
- and tar. But after some tries, to use the pipes with standard Amiga CLI
- programs, I found no trick to redirect the input and output to the pipes.
- At this point I had a idea of writing a transparent handler. Thus the
- StdIO-Handler was born, using some example code from the Device-Handler
- by Matthias Scheler and Marius Gröger (Thanks for the available code !).
- The only thing you have to do, is to copy the STDIO file to your
- Devs:DosDrivers/ directory and the handler to your L: directory.
- After this you can use it like all other devices.
- Note: If you use this handler with the pipes, you can't use tools, which
- Seek's in the files (see the appropriate pipes doc) !
-
- Example Mount File :
-
- /* Standard-IO Handler */
- Handler = L:StdIO-Handler
- Stacksize = 1000
- Priority = 5
- GlobVec = -1
-
-
- EXAMPLES
- Output the current direcory in sorted order :
- List | Sort Stdio: to Stdio:
-
- Output all files and subdirs last modified on august 1994 :
- List ALL | search stdio: Aug-94 NONUM
-
- List ALL | search stdio: -s--rw-d NONUM
-
- AUTHOR
- Stefan Ruppert
- Windthorststraße 5
- 65439 Flörsheim am Main
- GERMANY
- EMail: ruppert@vs3.informatik.fh-wiesbaden.de
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2180 769 64.7% 17-Jan-95 02:08:36 StdIO-Handler/Install
- 553 319 42.3% 17-Jan-95 02:02:36 StdIO-Handler/Install.info
- 40 40 0.0% 05-Apr-95 23:26:34 StdIO-Handler/project
- 110 89 19.0% 16-Jan-95 23:28:46 StdIO-Handler/STDIO
- 1380 940 31.8% 05-Apr-95 23:27:06 StdIO-Handler/StdIO-Handler
- 12278 3703 69.8% 05-Apr-95 23:18:10 StdIO-Handler/StdIO-Handler.c
- 417 215 48.4% 17-Jan-95 02:02:36 StdIO-Handler/StdIO-Handler.c.info
- 1575 833 47.1% 05-Apr-95 23:27:06 StdIO-Handler/StdIO-Handler.doc
- 468 226 51.7% 17-Jan-95 02:02:36 StdIO-Handler/StdIO-Handler.doc.info
- 481 268 44.2% 17-Jan-95 02:02:36 StdIO-Handler/STDIO.info
- -------- ------- ----- --------- --------
- 19482 7402 62.0% 11-Apr-95 10:18:16 10 files
-